<div class='p-w l-lr'><div class='p-i-w'>
	
		<!-- layer -->
		<div class='l-box l-l'>
			
			<!-- section -->
			<div class="sb-w travel-search">
				<h1 class="sb-title"><span class='w'>线路分类<span><a href='#' class='fc-blue'>国内游</a> | <a class='fc-blue' href='#'>出境游</a></span></span></h1>
				<div class='sb-ci-w'>
					<?php
						$model = new Travel();	
						$form = $this->beginWidget('CActiveFormAdv',array(
						'action' => Yii::app()->controller->createUrl('travelList'),
						'method' => 'get',
					))?>
					<table class='form-tb largespacing'>
						<tr><td><span class='bh-strong'>关键字：</span><p><input class='fc-999' type='text' style='width: 205px' value='输入或选择关键字'/></p></td></tr>
						<tr><td><span class='bh-strong'>交通方式：</span><?php LyscHtml::buttonList($form, $model, 'traffic_type',  Yii::app()->enum->options('goods.trafficType', false));?></td></tr>
						<tr><td><span class='bh-strong'>价格区间：</span><?php LyscHtml::buttonList($form, $model, 'price',  Yii::app()->enum->options('goods.price', false));?></td></tr>
						<tr><td><div class="search_btn"><input type="submit" value="搜索" class="" id="btn_search"></div></td></tr>
					</table>
					<?php $this->endWidget()?>
				</div>
			</div>
			
			<!-- section -->
			<div class="sb-w">
				<h1 class="sb-title"><span>热门目的地城市</span></h1>
				<div class='sb-ci-w'>
					<?php $this->widget('lib.ext.data.DataWidget',array(
						'model' => 'GoodsTravel',
						'criteria' => array(
							'select' => 'travel_city',
							'group' => 'travel_city',
							'limit' => 30,
						),
						'view' => 'application.views.partials.platform.travel.arrival_city',
					))?>
				</div>
			</div> 
			
			<!-- section -->
			<div class="sb-w empty">
				<!-- 旅游左侧广告 -->
				<?php $this->widget('lib.ext.data.DataWidget',array(
					'model' => 'Ad',
					'criteria' => array(
						'condition' => 'type = :type',
						'params' => array(
							':type' => Ad::TYPE_M_TRAVEL_L
						),
						'limit' => '1'
					),
					'data' => array(
						'width' => 248,
						'height' => 104,
					),
					'view' => 'application.views.partials.ad.one'
				))?>
			</div>
			
			<!-- section -->
			<!-- <div class='sb-w'>
				<h1 class="sb-title"><span>热门旅游路线</span></h1>
				<div class='sb-ci-w'>
					<?php $this->widget('lib.ext.data.DataWidget',array(
				   		'model' => 'GoodsTravel',
						'criteria' => array(
							'group' => 'travel_city',
							'limit' => 8,
						),
						'view' => 'application.views.partials.platform.scenic.hot_scenic',
					))?>
				</div>
			</div>  -->
			
		</div>
		
		<!-- layer -->
		<div class='l-box l-r'>
			
			<div class='travel-is-w'>
				<div class=''><input type='text' value='请输入您所要查找的地名、或关键字'/><input type='button' value='搜 索'/></div>
				<p class='font-body'><a href='#'>馈赠佳品</a> | <a href='#'>滋阴补肾</a> | <a href='#'>内调外理</a></p>
				<div class='bh-clear'></div>
			</div>
			
			<!-- section -->
			<div class='sb-w empty'>
				<?php $this->widget('Sildeable', array(
					'width' => '469px',
	 				'height' => '198px',
					'items' => SildeShowService::getInstance()->getData('travel_p'),
				))?>
			</div>
			
			<div class='l-box l-l'>
			
				<!-- section -->
				<div class="bh-ly-jj-xiangou_1 box">
					<div class="bh-ly-jj-jingdian_h2 bh-ly-jj-borderBD">
						<div class="bh-ly-jj-tejiamen3" id='trigger-scenicNews'>
							<?php $this->widget('lib.ext.data.DataWidget',array(
								'model' => 'CategoryInformation',
								'criteria' => array(
						 			'condition' => 'parent_id = :pid',
									'params' => array(
										':pid' => CategoryInformation::TYPE_TRAVEL
									),
									'order' => 'id ASC',
									'limit' => 4,
								),
								'data' => array(
									'params' => array('service'=>'scenicNews'),
									'trigger' => 'trigger-scenicNews',
									'content' => 'content-scenicNews'
								),
								'view' => 'application.views.partials.public.category',
							))?>
						</div>
					</div>
					<ul class="bh-ly-jj-xianluzixun_1" id='content-scenicNews'>
					</ul>
				</div>
			
			
			<!-- section -->
			<div class='tabbox-w box orange'>
				<div class='tabbox-header'>
					<h1>出境旅游</h1>
					<ul id='exit-travel'>
					<?php $this->widget('lib.ext.data.DataWidget',array(
								'model' => 'CityRecommend',
								'criteria' => array(
						 			'condition' => 'type = :type',
						 			'params' => array(
						 				':type' => CityRecommend::TYPE_TRAVEL_EXIT
						 			),
									'order' => 'sort DESC',
									'limit' => 4,
								),
								'data' => array(
									'params' => array('service'=>'exitTravel'),
									'trigger' => 'exit-travel',
									'content' => 'exit-content'
								),
								'view' => 'application.views.partials.platform.travel.start_city',
							))?>
					</ul>
					<div class='bh-clear'></div>
				</div>
				<div class='tabbox-body travel-hot' id='exit-content'>
					<?php /*$this->widget('lib.ext.data.DataWidget',array(
						'model' => 'Travel',
						'criteria' => array(
							'with' => 'profile',
							'condition' => 'profile.travel_province = 35',
							'order' => 'listing_time DESC', //按上架时间倒序
							'scopes' => 'listing',
							'limit' => 6,
						),
						'view' => 'application.views.partials.platform.travel.city_travel',
					))*/?>
				</div>
			</div>
			
			<!-- section -->
			<div class='tabbox-w box red'>
				<div class='tabbox-header'>
					<h1>国内旅游</h1>
					<ul id='internal-travel'>
						<?php $this->widget('lib.ext.data.DataWidget',array(
							'model' => 'CityRecommend',
							'criteria' => array(
					 			'condition' => 'type = :type',
					 			'params' => array(
					 				':type' => CityRecommend::TYPE_TRAVEL_INTERNAL
					 			),
								'order' => 'sort DESC',
								'limit' => 4,
							),
							'data' => array(
								'params' => array('service'=>'internalTravel'),
								'trigger' => 'internal-travel',
								'content' => 'internal-content'
							),
							'view' => 'application.views.partials.platform.travel.start_city',
						))?>
					</ul>
					<div class='bh-clear'></div>
				</div>
				<div class='tabbox-body travel-hot' id='internal-content'>
					<!-- section 国内游 -->
				<?php /*$this->widget('lib.ext.data.DataWidget',array(
					'model' => 'Travel',
					'criteria' => array(
						'with' => 'profile',
						'condition' => 'profile.travel_province <> 35',
						'order' => 'listing_time DESC', //按上架时间倒序
			  			'scopes' => 'listing',
						'limit' => 5,
					),
					'view' => 'application.views.partials.platform.travel.city_travel',
				))*/?>
				</div>
			</div>
			
			<!-- section 自助游 -->
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'Travel',
				'criteria' => array(
					'order' => 'listing_time DESC', //按上架时间倒序
		  			'scopes' => 'listing',
					'limit' => 6,
				),
				'data' => array(
					'title' => '自助游 '
				),
				'view' => 'application.views.partials.platform.travel.index_hot',
			))?>
			
			<!-- section 周边游 -->
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'Travel',
				'criteria' => array(
					'order' => 'listing_time DESC', //按上架时间倒序
		  			'scopes' => 'listing',
					'limit' => 6,
				),
				'data' => array(
					'title' => '周边游'
				),
				'view' => 'application.views.partials.platform.travel.index_hot',
			))?>
			
		</div>
		
		<!-- layer -->
		<div class='l-box l-r'>
		
			<!-- section -->
			<div class='sb-w'>
				<h1 class='sb-title'><span>热门路线</span></h1>
				<div class='sb-ci-w'>
					<?php $this->widget('lib.ext.data.DataWidget',array(
						'model' => 'Travel',
						'criteria' => array(
							'order' => 'listing_time DESC', //按上架时间倒序
				  			'scopes' => 'listing',
							'condition' => 'is_recommend = 1',
							'limit' => 5,
						),
						'view' => 'application.views.partials.tour.hotpath',
					))?>
					<div class='bh-clear'></div>
				</div>
			</div>
			
			<!-- section 旅游右侧中部广告 -->
			<div class="sb-w empty">
				<?php $this->widget('lib.ext.data.DataWidget',array(
					'model' => 'Ad',
					'criteria' => array(
						'condition' => 'type = :type',
						'params' => array(
							':type' => Ad::TYPE_M_TRAVEL_C
						),
						'limit' => '1'
					),
					'data' => array(
						'width' => 230,
						'height' => 95,
					),
					'view' => 'application.views.partials.ad.one'
				))?>
			</div>
			
			<!-- section 推荐路线 -->
			<div class="sb-w red">
				 <h1 class="sb-title"><span>推荐路线</span></h1>
				 <div class='sb-ci-w'>
				<?php $this->widget('lib.ext.data.DataWidget',array(
					'model' => 'Travel',
					'criteria' => array(
						'condition' => 'is_recommend = 1',
						'order' => 'listing_time DESC', //按上架时间倒序
				  		'scopes' => 'listing',
						'limit' => 10,
					),
					'view' => 'application.views.partials.tour.hotrecommend',
				))?>
				</div>
			</div> 
			
			<!-- section 旅游右侧广告 -->
			<div class="sb-w empty">
				<!-- 旅游右侧广告 -->
				<?php $this->widget('lib.ext.data.DataWidget',array(
					'model' => 'Ad',
					'criteria' => array(
						'condition' => 'type = :type',
						'params' => array(
							':type' => Ad::TYPE_M_TRAVEL_R
						),
						'limit' => '1'
					),
					'data' => array(
						'width' => 230,
						'height' => 83,
					),
					'view' => 'application.views.partials.ad.one'
				))?>
			</div>
			
			<!-- section 网店展示 -->
			<div class="sb-w">
				 <h1 class="sb-title">网店展示</h1>
				 <div class='sb-ci-w'>
					<?php /*$this->widget('lib.ext.data.DataWidget',array(
						'model' => 'WorkerRecommend',
						'criteria' => array(
							'order' => 'id DESC', //按id倒序
							'limit' => 6,
						),
						'view' => 'application.views.partials.provider.travel',
					))*/?>
					<div class="bh-clear"></div>
			  	</div>
		  	</div>
			
		</div>
		<!-- layer -->
		<div class='bh-clear'></div>
		
		<!-- 友情链接 -->
		<div class="bh-youqinghref_bg">
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'FriendLink',
				'view' => 'application.views.partials.aircraft.friendlink',
			))?>
		</div>
	
</div></div>


